CC		= gcc
WARNINGS	= -Wall
COMPILE		= -pipe -O3
PROC_OPT        = -march=x86-64
LD_OPT		= -s

CFLAGS = $(WARNINGS) $(COMPILE) $(PROC_OPT)
SRCS    = grid_utils.c main.c backtrack.c determine.c

OBJS  = $(SRCS:.c=.o)

sudoku_solver: $(SRCS) $(OBJS) $(HEADERS)
	$(CC) $(CFLAGS) $(LD_OPT) -o $@ $(OBJS)

clean:
	rm -f $(OBJS) sudoku_solver core *~
